dojo.provide("dojoscratch.DotCommand");

dojo.require("dojoscratch.AbstractCommand");

dojo.declare("dojoscratch.DotCommand", dojoscratch.AbstractCommand, {
    _command: function() {
        var circle = {
            "type" : "circle",
            "cx" : this._x1,
            "cy" : this._y1,
            "r" : 2
        };
        var fill = {
            colors : {
                color : "red"
            }
        };

        var stroke = {};
        
        dojo.publish("pointing", [circle, fill, stroke]);
    }
});